﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YwhLib
{
    /// <summary>
    /// 业委会
    /// </summary>
    public class Committee
    {
        [FreeSql.DataAnnotations.Column(IsPrimary = true, IsIdentity = true)]
        /// <summary>
        /// 编号ID
        /// </summary>
        public int CommitteeId { get; set; }

        /// <summary>
        /// 名称，第几届XX委员会
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 成立时间 年月日
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间 年月日
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [FreeSql.DataAnnotations.Column(IsIgnore = true)]
        /// <summary>
        /// 成员Id
        /// </summary>
        public List<int> Participants { get; set; }

        /// <summary>
        /// 成立描述
        /// </summary>
        public string Story { get; set; }
    }
}